beautypg.com

Configuring vlan examples, Configuring vlan examples -46, R to – Enterasys Networks Security Router X-PeditionTM User Manual

Page 148

background image

Configuring VLAN Examples

5-46 Configuring IP

XSRb(config-if)#vrrp 5 priority 200
XSRb(config-if)#vrrp 5 adver-int 30
XSRb(config-if)#vrrp 5 ip 10.10.10.50
XSRb(config-if)#vrrp 5 preempt delay 2
XSRb(config-if)#vrrp 5 track serial 2/0
XSRb(config-if)#vrrp 100 ip 10.10.10.100
XSRb(config-if)#vrrp 100 priority 65
XSRb(config-if)#no vrrp 100 preempt
XSRb(config-if)#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)#vlan 1200
XSR(config-if)#ip address 1.2.3.4 255.255.255.0
XSR(config-if)#no shutdown
XSR(config-if)#exit
XSR(config)#interface FastEthernet 2.2
XSR(config-if)#vlan 1300
XSR(config-if)#ip address 2.2.3.4 255.255.255.0
XSR(config-if)#no shutdown

The following example configures a VLAN interface for PPPoE:

XSR(config)#interface FastEthernet 2.4
XSR(config-if)#encapsulate ppp
XSR(config-if)#vlan 1400
XSR(config-if)#ip address negotiated
XSR(config-if)#ip mtu 1492
XSR(config-if)#no shutdown

For a QoS with VLAN example, refer to

“QoS with VLAN” on page 14

.