![background image](http://html1.mh-extra.com/html/3com/officeconnect-3c100xf/officeconnect-3c100xf_cli-users-manual_440829144.webp)
16-2
C
HAPTER
16: C
ONFIGURING
Y
OUR
WAN P
ROTOCOL
S
ETTINGS
OCG-Adsl>>set profile
<pppoe>
protocol ip
local_ip_address
<x.x.x.x>
remote_ip_address
<y.y.y.y>
OCG-Adsl>>set profile
<pppoe>
protocol ip default_route_option
enable routing both routing_protocols ripv2
OCG-Adsl>>add atmaal5 pvc
<pvc34>
vpi
<0>
vci
<34>
OCG-Adsl>>add datalink ppp interface
<atmaal:1/pvc34>
profile
<pppoe>
3
Configure your NAT/PAT policies.
To configure NAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<NAT>
To configure PAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<PAT>
To configure SuperNAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<SUPERNAT>
4
Determine your public IP addresses for your LAN and WAN by entering the following
CLI commands:
OCG-Adsl>>list ip networks
Your WAN IP address is associated with your interface name. An example of a
WAN interface name is
atmaal1:/pvc34
.
5
Enter the following CLI commands:
OCG-Adsl>>add pat
<tcp>
interface
<interface name>
private_address
<ip address range>
public_address
<ip
address range>
public_port
<port range>
OCG-Adsl>>add pat
<udp>
interface
<interface name>
private_address
<ip address range>
public_address
<ip
address range>
public_port
<port range>
Configuring PPPoA
To configure PPPoA from the CLI, perform the following steps:
1
To configure PPPoA, you must enter a series of CLI commands.
The following example shows the CLI commands that are used to configure
PPPoA.
OCG-Adsl>>add profile
<pppoa>
network_service ppp
OCG-Adsl>>set profile
<pppoa>
network_service pppilc
OCG-Adsl>>set profile
<pppoa>
send_password
<root>
OCG-Adsl>>set profile
<pppoa>
bridging disable
2
Enter one of the following CLI commands next:
Enter the following CLI command to make the OfficeConnect Gateway
automatically negotiate with the Service Provider for an IP address:
OCG-Adsl>>set profile
<pppoa>
protocol ip
address_selection negotiate
Содержание OfficeConnect 3C100XF
Страница 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Страница 14: ...xiv ...
Страница 18: ...iv ABOUT THIS GUIDE ...
Страница 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Страница 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Страница 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Страница 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Страница 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Страница 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Страница 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Страница 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Страница 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Страница 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Страница 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Страница 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Страница 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Страница 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Страница 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Страница 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Страница 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Страница 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Страница 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Страница 256: ...xvi ...
Страница 260: ......