admin 发表于 2021-2-5 15:22:47

HCNA-11 利用三层交换机实现VLAN间路由

HCNA-11 利用三层交换机实现VLAN间路由


<Huawei>system-viewsysnamesw1vlan10descriptionshichangvlan20descriptioncaiwuquitport-groupgroup-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/2porthybrid pvid vlan 10//porthybrid untagged vlan 10quitport-groupgroup-member GigabitEthernet 0/0/3 to GigabitEthernet 0/0/4porthybrid pvid vlan 20porthybrid untagged vlan 20quitinterfacevlanif 10ipaddress 172.16.10.1 24quitinterfacevlanif 20ipaddress 172.16.20.1 24quitdisplayip interface brief*down:administratively down^down:standby(l):loopback(s):spoofingThe numberof interface that is UP in Physical is 4The numberof interface that is DOWN in Physical is 1The numberof interface that is UP in Protocol is 3The numberof interface that is DOWN in Protocol is 2 Interface                         IP Address/Mask      PhysicalProtocolMEth0/0/1                         unassigned         down       down   NULL0                           unassigned         up         up(s)   Vlanif1                           unassigned         up         down      Vlanif10                        172.16.10.1/24       up         up      Vlanif20                        172.16.20.1/24       up         up   displayport vlan activeT=TAGU=UNTAG-------------------------------------------------------------------------------Port                Link Type    PVID   VLAN List-------------------------------------------------------------------------------GE0/0/1             hybrid       10   U: 1 10GE0/0/2             hybrid       10   U: 1 10GE0/0/3             hybrid       20   U: 1 20GE0/0/4             hybrid       20   U: 1 20……quit<sw1>save
页: [1]
查看完整版本: HCNA-11 利用三层交换机实现VLAN间路由

公司网站