I want to test the sub-interface, how can I add a trunk port? Is the
following command correct?

create sub-interfaces <interface> <subId> default - Adding the default
parameter indicates that packets with VLAN IDs that do not match any
other subinterfaces should be sent to this subinterface.

I've tested it with following command, but I wasn't worked

set interface ip address GigabitEthernet0/a/0 10.10.10.79/24
set interface state GigabitEthernet0/a/0 up
create sub-interfaces GigabitEthernet0/a/0 10 default
set interface ip address GigabitEthernet0/a/0.10 11.11.11.79/24
set interface state GigabitEthernet0/a/0.10 up

When I sent ping from client with vlan 20, it didn't work correctly.
Another question, how can I see configuration of each sub-interface?
(show interface is not complete, it isn't shown vlan tag, protocol,
etc.)


Best Regards,
Juan Salmon.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18936): https://lists.fd.io/g/vpp-dev/message/18936
Mute This Topic: https://lists.fd.io/mt/81370947/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to