How to divide VLANs on an AR router

Adding different interfaces to different VLANs can implement data isolation.
ARs support three types of interfaces. Specific VLAN configuration methods vary with interfaces:
·Access interface
#
interface Ethernet2/0/0
port link-type access
port default vlan 100 //Configure the default VLAN as VLAN 100, and add interfaces into VLAN 100.
#
·Trunk interface
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 100 to 200 //Add interfaces into VLANs 100 to 200.
#
·Hybrid interface
#
interface Ethernet2/0/0
port hybrid tagged vlan 100 to 200 (or port hybrid untagged vlan 100 to 200)
//Add interfaces into VLANs 100 to 200 in tagged or untagged mode.
#

Scroll to top