eNSP AR2220与交换机代码
AR2220:
system-view
interface GigabitEthernet 0/0/0.?
interface GigabitEthernet 0/0/0.10
dotlq termination vid 10
ip address 192.168.10.254 24
arp broadcast enable
quit
interface GigabitEthernet 0/0/0.20
dotlq termination vid 20
ip address 192.168.20.254 24
arp broadcast enable
quit
system-view
interface GigabitEthernet 0/0/0.?
interface GigabitEthernet 0/0/0.10
dotlq termination vid 10
ip address 192.168.10.254 24
arp broadcast enable
quit
interface GigabitEthernet 0/0/0.20
dotlq termination vid 20
ip address 192.168.20.254 24
arp broadcast enable
quit
S5700:
system-view
interface Vlanif 10
undo ip address
quit
interface Vlanif 20
undo ip address
quit
interface GigabitEthernet 0/0/24
port link-type trunk
port trunk allow-pass vlan 10 20
system-view
interface Vlanif 10
undo ip address
quit
interface Vlanif 20
undo ip address
quit
interface GigabitEthernet 0/0/24
port link-type trunk
port trunk allow-pass vlan 10 20
