cc/td/doc/product/software/ios121/121sup/121csum2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Switching Commands: address-family Through ip cef

Switching Commands: address-family Through ip cef

This chapter explains the function and syntax of the switching commands from address family through ip cef. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Command Reference, Release 12.1.

address-family

To enter the address family submode for configuring routing protocols, such as BGP, RIP and static routing, use the address-family command in address family configuration submode. To disable the address family submode for configuring routing protocols, use the no form of this command.

VPN-IPv4 unicast

address-family vpnv4 [unicast]

no address-family vpnv4 [unicast]

IPv4 unicast

address-family ipv4 [unicast]

no address-family ipv4 [unicast]

IPv4 unicast with CE router

address-family ipv4 [unicast] vrf vrf-name

no address-family ipv4 [unicast] vrf vrf-name

Syntax Description

ipv4

Configures sessions that carry standard IPv4 address prefixes.

vpnv4

Configures sessions that carry customer VPN-IPv4 prefixes, each of which has been made globally unique by adding an 8-byte route distinguisher.

unicast

(Optional) Specifies unicast prefixes.

vrf vrf-name

Specifies the name of a VPN routing/forwarding instance (VRF) to associate with submode commands.

append-after

To insert a path entry after a specific index number, use the append-after command in IP explicit path subcommand mode.

append-after index command

Syntax Description

index

Previous index number. Valid range is 0 to 65534.

command

One of the IP explicit path configuration commands that create a path entry. (Currently, only the next-address command can be used.)

atm-address

To override the control ATM address of an MPC or MPS, use the atm-address command in interface configuration mode. Use the no form of this command to revert to the default address.

atm-address atm-address

no atm-address

Syntax Description

atm-address

Control ATM address.

bgp scan-time

To configure scanning intervals of BGP routers to decrease import processing time of VPNv4 routing information, use the bgp scan-time command in router configuration mode. To disable the scanning interval of a router, use the no form of this command.

bgp scan-time [import] scanner-interval

no bgp scan-time

Syntax Description

import

(Optional) Configures import processing of VPNv4 unicast routing information from BGP routers into routing tables.

scanner-interval

Specifies the scanning interval of BGP routing information. Valid values used for selecting the desired scanning interval are from
5 to 60 seconds.

cache

To configure aggregation cache operational parameters, use the cache command in aggregation cache configuration mode.

To disable the operational parameters, use the no form of this command.

cache {entries number | timeout [active minutes | inactive seconds]}

no cache {entries number | timeout [active minutes | inactive seconds]}

Syntax Description

entries number

The number of cached entries allowed in the aggregation cache. The number of entries can be 1024 to 524288. The default is 4096.

active minutes

(Optional) The number of minutes that an active entry is active. The default is 30 minutes; the range is from 1 to 60 minutes.

inactive seconds

(Optional) The number of seconds that an inactive entry will stay in the aggregation cache before it times out. The default is 15 seconds; the range is from 10 to 600 seconds.

class (MPLS)

To configure a defined MPLS CoS map which specifies how classes map to label VCs (LVCs) when combined with a prefix map, use the class command in CoS map submode. To disable this option, use the no form of this command.

class class [available standard premium control]

no class class [available standard premium control]

Syntax Description

class

The precedence of identified traffic to classify traffic.

available

(Optional) Means low precedence (In/Out plus lower two bits = 0,4).

standard

(Optional) Means next precedence (In/Out plus lower two bits = 1,5).

premium

(Optional) Means high precedence (In/Out plus lower two bits = 2,6).

control

(Optional) Means highest precedence pair (In/Out plus lower two bits = 3,7). These bits are reserved for control traffic.

clear adjacency

To clear the Cisco Express Forwarding (CEF) adjacency table, use the clear adjacency command in EXEC mode.

clear adjacency

Syntax Description

This command has no arguments or keywords.

clear atm vc

To release a specified switched virtual circuit (SVC), use the clear atm vc command in EXEC mode.

clear atm vc vcd

Syntax Description

vcd

Virtual channel descriptor of the channel to be released.

clear cef linecard

To clear Cisco Express Forwarding (CEF) information from line cards, use the clear cef linecard command in EXEC mode.

clear cef linecard [slot-number] [adjacency | interface | prefix]

Syntax Description

slot-number

(Optional) Line card slot number to clear. When you omit this argument, all line card slots are cleared.

adjacency

(Optional) Clears line card adjacency tables and rebuilds adjacency for the specified line card.

interface

(Optional) Clears line card interface information and recreates the interface information for the specified line card.

prefix

(Optional) Clears line card prefix tables and starts rebuilding the FIB table.

clear ip cef prefix-statistics

To clear Cisco Express Forwarding (CEF) counters by resetting the packet and byte count to zero (0), use the clear ip cef prefix-statistics command in EXEC mode.

clear ip cef {network [mask] | *} prefix-statistics

Syntax Description

network

Clears counters for a FIB entry specified by network.

mask

(Optional) Clears counters for a FIB entry specified by network and mask.

*

Clears counters for all FIB entries.

clear ip flow stats

To clear the NetFlow switching statistics, use the clear ip flow stats command in EXEC mode.

clear ip flow stats

Syntax Description

This command has no arguments or keywords.

clear ip mds forwarding

To clear all routes from a line card's MFIB table and resynchronize it with the RP, use the clear ip mds forwarding command in EXEC mode.

clear ip mds forwarding

Syntax Description

This command has no arguments or keywords.

clear ip mroute

To delete entries from the IP multicast routing table, use the clear ip mroute command in EXEC mode.

clear ip mroute {* | group [source]}

Syntax Description

*

Deletes all entries from the IP multicast routing table.

group

Can be either one of the following:

  • Name of the multicast group, as defined in the DNS hosts table or with the ip host command.

  • IP address of the multicast group. This is a multicast IP address in four-part, dotted notation.

source

(Optional) If you specify a group name or address, you can also specify a name or address of a multicast source that is sending to the group. A source need not be a member of the group.

clear ip pim interface count

To clear all line card counts or packet counts, use the clear ip pim interface count command in EXEC mode.

clear ip pim interface count

Syntax Description

This command has no arguments or keywords.

clear ip route vrf

To remove routes from the VRF routing table, use the clear ip route vrf command in EXEC mode.

clear ip route vrf vrf-name {* | network [mask]}

Syntax Description

vrf-name

Name of the VPN routing/forwarding instance (VRF) for the static route.

*

Deletes all routes for a given VRF.

network

Destination to be removed, in dotted-decimal format.

mask

(Optional) Mask for the specified network destination, in dotted-decimal format.

clear lane le-arp

To clear the dynamic LANE Address Resolution Protocol (LE ARP) table or a single LE ARP entry of the LANE client configured on the specified subinterface or emulated LAN, use the clear lane le-arp command in EXEC mode.

Cisco 7500 series

clear lane le-arp [interface slot/port[.subinterface-number] | name elan-name] [mac-address mac-address | route-desc segment segment-number bridge bridge-number]


Cisco 4500 and 4700 routers

clear lane le-arp [interface number[.subinterface-number] | name elan-name] [mac-address mac-address | route-desc segment segment-number bridge bridge-number]

Syntax Description

interface slot/port[.subinterface-number]

(Optional) Interface or subinterface for the LANE client whose LE ARP table or entry is to be cleared for the Cisco 7500 series routers. The space between the interface keyword and the slot argument is optional.

interface number[.subinterface-number]

(Optional) Interface or subinterface for the LANE client whose LE ARP table or entry is to be cleared for the Cisco 4500 or 4700 routers. The space between the interface keyword and the number argument is optional.

name elan-name

(Optional) Name of the emulated LAN for the LANE client whose LE ARP table or entry is to be cleared. Maximum length is 32 characters.

mac-address mac-address

(Optional) Media access control (MAC) address of the entry to be cleared from the LE ARP table.

route-desc segment segment-number

(Optional) LANE segment number. The segment number ranges from 1 to 4095.

bridge bridge-number

(Optional) Bridge number that is contained in the route descriptor. Valid bridge numbers range from 1 to 15.

clear lane server

To force a LANE server to drop a client and allow the LANE configuration server to assign the client to another emulated LAN, use the clear lane server command in EXEC mode.

Cisco 7500 Series

clear lane server {interface slot/port [.subinterface-number] | name elan-name} [mac-address mac-address | client-atm-address atm-address | lecid lane-client-id | route-desc segment segment-number bridge bridge-number]


Cisco 4500 and 4700 Routers

clear lane server {interface number [.subinterface-number] | name elan-name} [mac-address mac-address | client-atm-address atm-address | lecid lecid | route-desc segment segment-number bridge bridge-number]

Syntax Description

interface slot/port[.subinterface-number]

Interface or subinterface where the LANE server is configured for the Cisco 7500 series. The space between the interface keyword and the slot argument is optional.

interface number[.subinterface-number]

Interface or subinterface where the LANE server is configured for the Cisco 4500 or 4700 routers. The space between the interface keyword and the number argument is optional.

name elan-name

Name of the emulated LAN on which the LANE server is configured. Maximum length is 32 characters.

mac-address mac-address

(Optional) Keyword and MAC address of LANE client.

client-atm-address atm-address

(Optional) Keyword and ATM address of LANE client.

lecid lane-client-id

(Optional) Keyword and LANE client ID. The LANE client ID is a value from 1 to 4096.

route-desc segment segment-number

(Optional) Keywords and LANE segment number. The segment number ranges from 1 to 4095.

bridge bridge-number

(Optional) Keyword and bridge number that is contained in the route descriptor. The bridge number ranges from 1 to 15.

clear mpoa client cache

To clear the ingress and egress cache entries of one or all MPCs, use the clear mpoa client cache command in EXEC mode.

clear mpoa client [name mpc-name] cache [ingress | egress] [ip-address ip-address]

Syntax Description

name mpc-name

(Optional) Specifies the name of the MPC with the specified name.

ingress

(Optional) Clears ingress cache entries associated with the MPC.

egress

(Optional) Clears egress cache entries associated with the MPC.

ip-address ip-address

(Optional) Clears matching cache entries with the specified IP address.

clear mpoa server cache

To clear the ingress and egress cache entries, use the clear mpoa server cache command in EXEC mode.

clear mpoa server [name mps-name] cache [ingress | egress] [ip-address ip-address]

Syntax Description

name mps-name

(Optional) Specifies the name of the MPS. If this keyword is omitted, this command will apply to all servers.

ingress

(Optional) Clears ingress cache entries associated with a server.

egress

(Optional) Clears egress cache entries associated with a server.

ip-address ip-address

(Optional) Clears matching cache entries with the specified IP address. If this keyword is omitted, this command will clear all entries.

client-atm-address name

To add a LANE client address entry to the configuration server's configuration database, use the client-atm-address command in database configuration mode. To remove a client address entry from the table, use the no form of this command.

client-atm-address atm-address-template name elan-name

no client-atm-address atm-address-template


Syntax Description

atm-address-template

Template that explicitly specifies an ATM address or a specific part of an ATM address and uses wildcard characters for other parts of the ATM address, making it easy and convenient to specify multiple addresses matching the explicitly specified part.

Wildcard characters can replace any nibble or group of nibbles in the prefix, the end-system identifier (ESI), or the selector fields of the ATM address.

elan-name

Name of the emulated LAN. Maximum length is 32 characters.

default

To enable a default aggregation cache, use the default command in aggregation cache configuration mode.

default [cache | enabled | export]

Syntax Description

cache

(Optional) Configure NetFlow cache parameters.

enabled

(Optional) Enable the aggregation cache.

export

(Optional) Specify host/port to send flow statistics.

default-name

To provide an emulated LAN name in the configuration server's database for those client MAC addresses and client ATM addresses that do not have explicit emulated LAN name bindings, use the default-name command in database configuration mode. To remove the default name, use the no form of this command.

default-name elan-name

no default-name

Syntax Description

elan-name

Default emulated LAN name for any LANE client MAC address or LANE client ATM address not explicitly bound to any emulated LAN name. Maximum length is 32 characters.

enabled

To enable an aggregation cache, use the enabled command in aggregation cache configuration mode.

enabled

Syntax Description

This command has no arguments or keywords.

encapsulation dot1q

To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface in virtual LANs, use the encapsulation dot1q command in subinterface configuration mode. IEEE 802.1Q is a standard protocol for interconnecting multiple switches and routers and for defining VLAN topologies.

encapsulation dot1q vlan-id

Syntax Description

vlan-id

Virtual LAN identifier. The allowed range is from 1 to 1000.

encapsulation isl

To enable the Inter-Switch Link (ISL), use the encapsulation isl command in subinterface configuration mode. ISL is a Cisco protocol for interconnecting multiple switches and routers, and for defining VLAN topologies.

encapsulation isl vlan-identifier

Syntax Description

vlan-identifier

Virtual LAN identifier. The allowed range is from 1 to 1000.

encapsulation sde

To enable IEEE 802.10 encapsulation of traffic on a specified subinterface in virtual LANs, use the encapsulation sde command in subinterface configuration mode. IEEE 802.10 is a standard protocol for interconnecting multiple switches and routers and for defining VLAN topologies.

encapsulation sde said

Syntax Description

said

Security association identifier. This value is used as the virtual LAN identifier. The valid range is 0 through 0xFFFFFFFE.

encapsulation tr-isl

To enable TRISL, use the encapsulation tr-isl command in subinterface configuration mode. TRISL is a Cisco proprietary protocol for interconnecting multiple routers and switches and maintaining VLAN information as traffic goes between switches.

encapsulation tr-isl trbrf-vlan vlan-id bridge-num bridge-number

Syntax Description

vlan-id

Number identifying the VLAN.

bridge-num bridge-number

Keyword that specifies the identification number of the bridge number on the ISL trunk. Possible values are from 1 to 4095.

exit

To leave aggregation cache mode, use the exit command in aggregation cache configuration mode.

exit

Syntax Description

This command has no arguments or keywords.

exit-address-family

To exit from the address family submode, use the exit-address-family command in address family submode.

exit-address-family

Syntax Description

This command has no arguments or keywords.

export destination

To enable the exporting of information from NetFlow aggregation caches, use the export destination command in aggregation cache configuration mode.

To disable the exporting of NetFlow aggregation cache information, use the no form of this command.

export destination ip-address port

no export destination ip-address port

Syntax Description

ip-address

Destination IP address.

port

Destination UDP port.

extended-port

To associate the currently selected extended label ATM (XTagATM) interface with a particular external interface on the remotely controlled ATM switch, use the extended-port command in interface configuration mode.

extended-port ctrl-if {bpx bpx-port-number | descriptor vsi-descriptor | vsi vsi-port-number}

Syntax Description

ctrl-if

Identifies the ATM interface used to control the remote ATM switch. VSI must be configured on this interface using the tag-control-protocol interface configuration command.

bpx bpx-port-number

Specifies the associated BPX interface using the native BPX syntax.

slot.port [.virtual port]

Note that this form of the command may be used only when the controlled switch is a BPX.

descriptor vsi-descriptor

Specifies the associated port by its VSI physical descriptor.

Note that the vsi-descriptor string must match the corresponding VSI physical descriptor exactly.

vsi vsi-port-number

Specifies the associated port by its VSI logical interface number (integer).

holding-time

To specify the holding time value for the MPS-p7 variable of an MPS, use the holding-time command in MPS configuration mode. To revert to the default value, use the no form of this command.

holding-time time

no holding-time time

Syntax Description

time

Specifies the holding time value in seconds.

import map

To configure an import route map for a VRF, use the import map command in VRF submode.

import map route-map

Syntax Description

route-map

Specifies the route map to be used as an import route map for the VRF.

index

To insert or modify a path entry at a specific index, use the index command in IP explicit path subcommand mode.

index index command

Syntax Description

index

Specifies entry index number. Valid range is from 0 to 65534.

command

One of the IP explicit path configuration commands that create or modify a path entry. (Currently, only the next-address command can be used.)

interface XTagATM

To enter interface configuration mode for the extended label ATM (XTagATM) interface, use the interface XTagATM command in global configuration mode. The interface is created the first time this command is issued for a particular interface number.

interface XTagATM if-num

Syntax Description

if-num

Interface number.

ip cache-invalidate-delay

To control the invalidation rate of the IP route cache, use the ip cache-invalidate-delay command in global configuration mode. To allow the IP route cache to be immediately invalidated, use the no form of this command.

ip cache-invalidate-delay [minimum maximum quiet threshold]

no ip cache-invalidate-delay

Syntax Description

minimum

(Optional) Minimum time (in seconds) between invalidation request and actual invalidation. The default is 2 seconds.

maximum

(Optional) Maximum time (in seconds) between invalidation request and actual invalidation. The default is 5 seconds.

quiet

(Optional) Length of quiet period (in seconds) before invalidation.

threshold

(Optional) Maximum number of invalidation requests considered to be quiet.

ip cef

To enable Cisco Express Forwarding (CEF) on the route processor card, use the ip cef command in global configuration mode. To disable CEF, use the no form of this command.

ip cef [distributed]

no ip cef [distributed]

Syntax Description

distributed

(Optional) Enables distributed CEF (dCEF) operation. Distributes CEF information to line cards. Line cards perform express forwarding.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 13:07:09 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.