Lsw1: # vlan batch 10 20 30 40 # dhcp enable # # interface Vlanif10 ip address 192.168.10.1 255.255.255.0 dhcp select interface # interface Vlanif20 ip address 192.168.20.1 255.255.255.0 dhcp select interface # interface Vlanif30 ip address 192.168.30.1 255.255.255.0 dhcp select interface # # interface GigabitEthernet0/0/1 port hybrid pvid vlan 30 port hybrid tagged vlan 1 to 4094 mac-vlan enable #
lSw2: # interface Ethernet0/0/1 porthybrid pvid vlan 30 porthybrid untagged vlan 2 to 4094 mac-vlan enable # # interface Ethernet0/0/2 porthybrid pvid vlan 30 porthybrid untagged vlan 2 to 4094 mac-vlan enable # # interface Ethernet0/0/3 porthybrid pvid vlan 30 porthybrid untagged vlan 2 to 4094 mac-vlan enable # # interface Ethernet0/0/4 porthybrid pvid vlan 30 porthybrid untagged vlan 2 to 4094 #
|