Configuring VLAN Examples

XSRb(config-if<F1>)#vrrp 5 priority 200

XSRb(config-if<F1>)#vrrp 5 adver-int 30

XSRb(config-if<F1>)#vrrp 5 ip 10.10.10.50

XSRb(config-if<F1>)#vrrp 5 preempt delay 2

XSRb(config-if<F1>)#vrrp 5 track serial 2/0

XSRb(config-if<F1>)#vrrp 100 ip 10.10.10.100

XSRb(config-if<F1>)#vrrp 100 priority 65

XSRb(config-if<F1>)#no vrrp 100 preempt

XSRb(config-if<F1>)#no shutdown

Configuring VLAN Examples

The following example configures a VLAN interface on FastEthernet sub-interfaces 2.1 and 2.2:

XSR(config)#interface FastEthernet 2.1

XSR(config-if<F1.2>)#vlan 1200

XSR(config-if<F1.2>)#ip address 1.2.3.4 255.255.255.0

XSR(config-if<F1.2>)#no shutdown

XSR(config-if<F1.2>)#exit

XSR(config)#interface FastEthernet 2.2

XSR(config-if<F2.2>)#vlan 1300

XSR(config-if<F2.2>)#ip address 2.2.3.4 255.255.255.0

XSR(config-if<F2.2>)#no shutdown

The following example configures a VLAN interface for PPPoE:

XSR(config)#interface FastEthernet 2.4

XSR(config-if<F2.4>)#encapsulate ppp

XSR(config-if<F2.4>)#vlan 1400

XSR(config-if<F2.4>)#ip address negotiated

XSR(config-if<F2.4>)#ip mtu 1492

XSR(config-if<F2.4>)#no shutdown

For a QoS with VLAN example, refer to “QoS with VLAN” on page 14.

5-46 Configuring IP

Page 148
Image 148
Enterasys Networks X-PeditionTM manual Configuring Vlan Examples, Following example configures a Vlan interface for PPPoE