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

Pagina di 342
  System Interfaces and Ports 
Ethernet Interfaces and Ports  ▀   
 
Cisco ASR 5500 System Administration Guide  ▄  
 
   
91 
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 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 
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 MIO/UMIO on which the physical port resides. slot# can be 5 or 6. 
This command produces an output similar to that displayed in the following example that shows the configuration for 
port 11 on the MIO/UMIO installed in chassis slot 5.  
In this example, the port is bound to an interface called rp1 configured in a context called source
config 
   port ethernet 5/11 
      description MIO5/11_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     MIO1 
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.