June 30, 2006

Chapter 7: Second Level Commands

Using mpls ip default-route command

Host(config)# mpls ip default-route

It enables the distribution of labels associated with the IP default route.

Usage

mpls ip default-route

Example

Host(config)# mpls ip default-route

Using no mpls ip default-route command

Host(config)# no mpls ip default-route

It disables the distribution of labels associated with the IP default route.

Usage

no mpls ip default-route

Example

Host(config)# no mpls ip default-route

Using the vrrp command

Host(config)# vrrp interface

The SCC redundancy mechanism is based on the Virtual Router2 Redundancy Protocol (VRRP RFC-2338), which is designed to eliminate the single point of failure inherent in the static default routed environment. VRRP specifies an election protocol that dynamically assigns responsibility for a virtual router to one of the VRRP routers on a LAN. The VRRP router controlling the IP address(es) associated with a virtual router is called the Master, and forwards packets sent to these IP addresses. The election process provides dynamic fail-over in the forwarding responsibility should the Master become unavailable. Any of the virtual router's IP addresses on a LAN can then be used as the default first hop router by end-hosts.

This is beneficial because VRRP is a higher availability default path without requiring configuration of dynamic routing or router discovery protocols on every end-host.

Usage

vrrp interface <Ethernet VLAN> <slot number>\<port number>[\VLAN ID>] <number> ip <IP address> priority <priority value> [preempt-mode <on off>]

Note: The virtual router IP should belong to the same subnet as the protected interface. The VRRP preempt mode default value is off. The write terminal command should not present the preempt-mode when set to its default value.

SG1-UM-8500-03

7-67

Page 147
Image 147
ADC SG-1 user manual Hostconfig# mpls ip default-route, Mpls ip default-route, Hostconfig# no mpls ip default-route