Cisco Cisco Packet Data Gateway (PDG) 管理员指南
Getting Started
Configuring the System for Remote Access ▀
Cisco ASR 5000 System Administration Guide ▄
45
The CLI output should be similar to the sample output:
context local
interface interface_name
ip address ipaddress subnetmask
exit
subscriber default
exit
administrator admin_name password admin_password
server telnetd
server ftpd
ssh generate key
server sshd
subsystem sftp
exit
port ethernet 24/1
bind interface interface_name local
exit
port ethernet 24/1
no shutdown
exit
snmp engine-id local 800007e580ed826c191ded2d3d
end
interface interface_name
ip address ipaddress subnetmask
exit
subscriber default
exit
administrator admin_name password admin_password
server telnetd
server ftpd
ssh generate key
server sshd
subsystem sftp
exit
port ethernet 24/1
bind interface interface_name local
exit
port ethernet 24/1
no shutdown
exit
snmp engine-id local 800007e580ed826c191ded2d3d
end
Step 7
Verify the configuration of the IP routes by entering the following command:
[local]host_name# show ip route
The CLI output should be similar to the sample output:
"*" indicates the Best or Used route.
Destination Nexthop Protocol Prec Cost Interface
*0.0.0.0/0 ipaddress static 1 0 spio1
*network 0.0.0.0 connected 0 0 spio1
Destination Nexthop Protocol Prec Cost Interface
*0.0.0.0/0 ipaddress static 1 0 spio1
*network 0.0.0.0 connected 0 0 spio1
Step 8
Verify the interface binding by entering the following command:
[local]host_name# show ip interface name interface_name
interface_name
is the name of the interface that was configured in step 7b.The CLI output should be similar to the
sample output:
Intf Name: spio1Intf Type: Broadcast
Description:
IP State: UP (Bound to 24/1 untagged, ifIndex 402718721)
IP Address: ipaddress Subnet Mask: subnetmask
Bcast Address: bcastaddress MTU: 1500
Resoln Type: ARP ARP timeout: 3600 secs
L3 monitor LC-port switchover: Disabled
Number of Secondary Addresses: 0
Description:
IP State: UP (Bound to 24/1 untagged, ifIndex 402718721)
IP Address: ipaddress Subnet Mask: subnetmask
Bcast Address: bcastaddress MTU: 1500
Resoln Type: ARP ARP timeout: 3600 secs
L3 monitor LC-port switchover: Disabled
Number of Secondary Addresses: 0
Step 9
Save your configuration as described in Verifying and Saving Your Configuration.