Cisco Cisco Packet Data Gateway (PDG) Ratgeber Für Administratoren

Seite von 377
  System Interfaces and Ports 
Ethernet Interfaces and Ports  ▀   
 
Cisco ASR 5000 System Administration Guide  ▄  
 
   
97 
Ethernet Interfaces and Ports 
Regardless of the type of application interface, the procedure to create and configure it consists of the following: 
Step 1 
Create an interface and assign an IP address and subnet mask to it by applying the example configuration in 
  
Step 2 
Assign a physical port for use by the interface and bind the port to the interface by applying the example configuration 
in 
  
Step 3 
Optionally configure a static route for the interface by applying the example configuration in 
  
Step 4 
Repeat the above steps for each interface to be configured. 
Important:
  This section provides the minimum instructions for configuring interfaces and ports to allow the 
system to communicate on the network. Commands that configure additional interface or port properties are described 
in the Ethernet Port Configuration Mode Commands and Ethernet Interface Configuration Mode Commands chapters 
of the Command Line Interface Reference. 
Caution:
  To ensure that system line card and port-level redundancy mechanisms function properly, the 
Spanning Tree protocol must be disabled on devices connected directly to any system port. Failure to turn off the 
Spanning Tree protocol may result in failures in the redundancy mechanisms or service outage. 
Creating an Interface 
Use the following example to create a new interface in a context: 
configure 
   context context_name 
      interface name 
         { ip | ipv6 } address address subnetmask [ secondary ] 
         end 
Notes: 
 
Optional: Add the loopback keyword option to the interface name command, to set the interface type as 
“loopback” which is always UP and not bound to any physical port. 
 
Optional: Add the secondary keyword to the { ip | ipv6 } address command, to assign multiple IP addresses to 
the interface. IP addresses can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal 
notation. 
 
Optional: In the interface config mode, add the port-switch-on-L3-fail address command, to configure the 
interface for switchover to the port on the redundant line card if connectivity to a specified IP address is lost. 
This IP address can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.