Cisco Cisco Packet Data Gateway (PDG)

Seite von 391
System Interfaces and Ports   
▀  Ethernet Interfaces and Ports 
 
 
▄  ASR 5000 System Administration Guide, StarOS Release 16 
98 
   
Configuring a Port and Binding It to an Interface 
Use the following example configuration to configure and assign a port to an interface: 
configure 
    port ethernet <slot#/port#
      description <description
      no shutdown 
      bind interface <interface_name>  <context_name> 
      end 
Notes: 
 
For port ethernet slot#, use the actual chassis slot in which the line card is installed. This could be any number 
from 17 to 23, or 26 to 39, or 42 to 48. 
 
For port ethernet port#, on FELCs, this value can be from 1 to 8. For the GELC/GLC2s and XGLCs this value 
must be 1. For for QGLCs enter a value from 1 to 4. 
 
Optional: In the Ethernet Port configuration mode, add the preferred slot slot# command if line card port 
redundancy was enabled at the card level and you want to specify a port preference. 
 
Optional: In the Ethernet Port configuration mode, configure the port speed, if needed, by entering the medium 
command. Refer to the Command Line Interface Reference for a complete explanation of this command. 
 
Binding associates the port and all of its settings to the named interface. 
Configuring a Static Route for an Interface 
Use the following example to configure a static route for an interface: 
configure 
    context <name> 
       { ip | ipv6 } route <ip_address> <netmask> next-hop <gw_address> 
<interface_name>
 
       end 
Notes: 
 
ip_address and netmask are the IP address and subnet mask of the target network. This IP address can be entered 
using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation. 
 
gw_address is the IP address of the default gateway or next-hop route. This IP address can be entered using IPv4 
dotted-decimal or IPv6 colon-separated-hexadecimal notation. 
 
To configure a route to the gateway router, use 0.0.0.0 for the network and mask variables. 
 
Repeat as needed. Multiple static routes can be configured to the same destination to provide an alternative 
means of communication in case the preferred route fails.