HUAWEI 路由器vlanif vlan間路由

拓撲

system-view
#
vlan batch 11 12  //創建VLAN
#
interface Vlanif11  //創建VLANIF接口
 ip address 11.1.1.1 255.255.255.0  //相同VLAN內PC終端的網關地址
#
interface Vlanif12
 ip address 12.1.1.1 255.255.255.0
#
interface Ethernet0/0/0
 port link-type access  //和PC終端相連,接口類型爲Access
 port default vlan 11  //接口加入VLAN
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 12



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章