OcNOS-SP : System Management Guide : System Management Configuration Guide : Ethernet Interface Loopback Support : Configurations
Configurations
R1
 
#configure terminal
Enter into the configure terminal mode.
R1(config)#hostname R1
Configure the hostname
R1(config)#commit
Commit the configuration
R1(config)#bridge 1 protocol rstp vlan-bridge
Configure bridge
R1(config)#vlan database
Enter into vlan database
R1(config-vlan)#vlan 2 bridge 1
Configure vlans
R1(config-vlan)#exit
Exit the vlan database mode
R1(config)#interface ce1/1
Enter into interface ce1/1
R1(config-if)#switchport
Configure switchport
R1(config-if)#bridge-group 1
Configure bridge-group
R1(config-if)#switchport mode trunk
Configure switchport mode as trunk
R1(config-if)#switchport trunk allowed vlan add 2
Add all the vlans to the interface
R1(config-if)#exit
Exit the interface mode
R1(config)#interface ce5/1
Enter into interface ce1/1
R1(config-if)#switchport
Configure switchport
R1(config-if)#bridge-group 1
Configure bridge-group
R1(config-if)#switchport mode trunk
Configure switchport mode as trunk
R1(config-if)#switchport trunk allowed vlan add 2
Add all the vlans to the interface
R1(config-if)#loopback tx phy
Configure loopback tx phy
R1(config-if)#exit
Exit the interface level
R1(config)#no mac-address-table learning bridge 1 interface ce1/1
Disable the mac-learning on the device
R1(config)#no mac-address-table learning bridge 1 interface ce5/1
Disable the mac-learning on the device
R1(config)#commit
Commit the configuration
R1(config)#exit
Exit from configuration mode
R2
 
#configure terminal
Enter into the configure terminal mode.
R2(config)#hostname R2
Configure the hostname
R2(config)#commit
Commit the configuration
R2(config)#exit
Come out of configuration mode
R2#conf terminal
Enter into the configure terminal mode
R2(config)#bridge 1 protocol rstp vlan-bridge
Configure bridge
R2(config)#vlan database
Enter into vlan database
R2(config-vlan)#vlan 2 bridge 1
Configure vlans
R2(config-vlan)#exit
Exit the vlan database mode
R2(config)#interface ce3/1
Enter into interface ce3/1
R2(config-if)#switchport
Configure switchport
R2(config-if)#bridge-group 1
Configure bridge-group
R2(config-if)#switchport mode trunk
Configure switchport mode as trunk
R2(config-if)#switchport trunk allowed vlan add 2
Add the vlan to the interface
R2(config-if)#exit
Exit the interface mode
R2(config-if)#interface ce29/1
Enter into interface ce29/1
R2(config-if)#switchport
Configure switchport
R2(config-if)#bridge-group 1
Configure bridge-group
R2(config-if)#switchport mode trunk
Configure switchport mode as trunk
R2(config-if)#switchport trunk allowed vlan add 2
Add the vlan to the interface
R2(config-if)#exit
Exit from interface level
R2(config)#no mac-address-table learning bridge 1 interface ce3/1
Disable the mac-learning on the device
R2(config)#no mac-address-table learning bridge 1 interface ce29/1
Disable the mac-learning on the device
R2(config)#commit
Commit the configuration
R2(config)#exit
Exit from configuration mode
Last modified date: 10/19/2023