Administrator Guide

Layer 3 Routing Commands 1549
encapsulation
Use the encapsulation command in Interface Configuration (VLAN) mode
to configure the Link Layer encapsulation type for the packet. Routed frames
are always Ethernet-encapsulated when a frame is routed to a VLAN.
Syntax
encapsulation {ethernet | snap}
ethernet —
Specifies Ethernet encapsulation.
snap —
Specifies SNAP encapsulation.
Default Configuration
Ethernet encapsulation is the default configuration.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
This command has no user guidelines.
Example
The following example applies SNAP encapsulation for VLAN 15.
console(config)#interface vlan 15
console(config-if-vlan15)#encapsulation snap
ip address
Use the ip address command in Interface Configuration mode to configure
an IP address on an in-band interface. Also use this command to configure
one or more secondary IP addresses on the interface. The ip address none
command clears the currently assigned IPv4 address and sets the IP address
ip route distance set ip next-hop show ip vlan
ip routing set ip precedence show route-map
––
show routing heap summary
2CSNXXX_SWUM204.book Page 1549 Monday, January 25, 2016 1:25 PM