Cisco Cisco Packet Data Gateway (PDG) Guida Dell'Amministratore

Pagina di 377
  System Interfaces and Ports 
Ethernet Interfaces and Ports  ▀   
 
Cisco ASR 5000 System Administration Guide  ▄  
 
   
99 
Viewing and Verifying Port Configuration 
Step 1 
Verify that your interface configuration settings are correct by entering the following commands: 
context context_name 
show { ip | ipv6 } interface 
context_name
 represents the name of the context in which the interface was created. The output from these commands 
should be similar to the following example. 
In this example an interface named mgmt1 was configured in the local context. 
Intf Name:       mgmt1 
Intf Type:       Broadcast 
IP State:        UP (Bound to 17/1 untagged, ifIndex 285278209) 
IP State:        UP (Bound to 5/11 untagged, ifIndex 285278209) 
IP Address:      192.168.100.3        Subnet Mask: 255.255.255.0 
Bcast Address:   192.168.100.255      MTU:             1500 
Resoln Type:     ARP                  ARP timeout:     3600 secs 
L3 monitor LC-port switchover:  Disabled 
Number of Secondary Addresses:  0 
Total interface count:          1 
Step 2 
Verify that your port configuration settings are correct by entering the following command: 
show configuration port slot#/port# 
slot# is the chassis slot number of the line card on which the physical port resides. slot# can be any integer value from 
17 to 39, and 42 to 48. 
This command produces an output similar to that displayed in the following example that shows the configuration for 
port 1 on the line card installed in chassis slot 17.  
In this example, the port is bound to an interface called rp1 configured in a context called source
config 
   port ethernet 17/1 
      description LC17/1_RP1 
      no shutdown 
      bind interface rp1 source 
      #end 
Step 3 
Verify that your static route(s) was configured properly by entering the following command: 
show ip static-route 
This command produces an output similar to that displayed in the following example that shows a static route to a 
gateway with an IP address of 192.168.250.1. 
Destination      Nexthop          Protocol  Prec  Cost  Interface 
0.0.0.0/0        192.168.250.1    Static     0    0     SPIO1 
0.0.0.0/0        192.168.250.1    Static     0    0     rp1 source 
Step 4 
Save the configuration as described in the Verifying and Saving Your Configuration chapter.